package com.wanwanbookstore.entity;

import java.util.Date;

public class BookCategory {
    private int id;
    private String name;
    private Date createTime;
    private int isRecommended; // 0: 不推荐, 1: 推荐

    public BookCategory() {
    }

    public BookCategory(int id, String name, Date createTime, int isRecommended) {
        this.id = id;
        this.name = name;
        this.createTime = createTime;
        this.isRecommended = isRecommended;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getIsRecommended() {
        return isRecommended;
    }

    public void setIsRecommended(int isRecommended) {
        this.isRecommended = isRecommended;
    }
}